Randomized selection with tripartitioning

نویسنده

  • Krzysztof C. Kiwiel
چکیده

We show that several versions of Floyd and Rivest’s algorithm Select [Comm. ACM 18 (1975) 173] for finding the kth smallest of n elements require at most n+min{k, n − k}+ o(n) comparisons on average, even when equal elements occur. This parallels our recent analysis of another variant due to Floyd and Rivest [Comm. ACM 18 (1975) 165–172]. Our computational results suggest that both variants perform well in practice, and may compete with other selection methods, such as Hoare’s Find or quickselect with median-of-3 pivots.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Illumination by floodlights

We consider three problems about the illumination of planar regions with oodlights of prescribed angles. Problem 1 is the decision problem: given a wedge W of angle , n points p 1 ; ; p n in the plane and n angles 1 ; ; n summing up to , decide whether W can be illuminated by oodlights of angles 1 ; ; n placed in some order at the points p 1 ; ; p n and then rotated appropriately. We show that ...

متن کامل

Zeta Sperm Selection Improves Pregnancy Rate and Alters Sex Ratio in Male Factor Infertility Patients: A Double-Blind, Randomized Clinical Trial

Objective Selection of sperm for intra-cytoplasmic sperm injection (ICSI) is usually considered as the ultimate technique to alleviate male-factor infertility. In routine ICSI, selection is based on morphology and viability which does not necessarily preclude the chance injection of DNA-damaged or apoptotic sperm into the oocyte. Sperm with high negative surface electrical charge, named “Zeta p...

متن کامل

تعیین شاخص‌های انتخاب در ارقام ذرت (Zea mays L.) به منظور افزایش عملکرد دانه

Yield is a quantitative trait and improving grain yield through direct selection is time-consuming. Indirect selection consisting of selection indices is more promising. A field experiment was conducted during 1999-2000 growing season in two experimental locations (Kooshkak and Badjgah) of College of Agriculture, Shiraz University, Shiraz. Thirteen corn hybrids were used in a randomized complet...

متن کامل

تعیین شاخص‌های انتخاب در ارقام ذرت (Zea mays L.) به منظور افزایش عملکرد دانه

Yield is a quantitative trait and improving grain yield through direct selection is time-consuming. Indirect selection consisting of selection indices is more promising. A field experiment was conducted during 1999-2000 growing season in two experimental locations (Kooshkak and Badjgah) of College of Agriculture, Shiraz University, Shiraz. Thirteen corn hybrids were used in a randomized complet...

متن کامل

Ensuring the comparability of comparison groups: is randomization enough?

BACKGROUND It is widely believed that baseline imbalances in randomized trials must necessarily be random. In fact, there is a type of selection bias that can cause substantial, systematic and reproducible baseline imbalances of prognostic covariates even in properly randomized trials. It is possible, given complete data, to quantify both the susceptibility of a given trial to this type of sele...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره cs.DS/0401003  شماره 

صفحات  -

تاریخ انتشار 2004